package com.xiaomaoguai.user.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xiaomaoguai.commom.action.BaseServiceImpl;
import com.xiaomaoguai.user.mapper.UserMapper;
import com.xiaomaoguai.user.model.User;

import tk.mybatis.mapper.common.Mapper;

/**
 * @Description :
 * @FileName: UserServiceImpl.java
 * @Author :WeiHui.Zhang
 * @Data : 2015年8月12日 下午5:28:16
 * @Version:V1.00
 */
@Service
public class UserServiceImpl extends BaseServiceImpl<User>implements UserService {

	@Autowired
	private UserMapper userMapper;

	public User findById(int id) {
		return userMapper.findById(id);
	}

	@Override
	protected Mapper<User> getMapper() {
		return userMapper;
	}

}
